package com.thenie.chat.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @Description 对话信息类
 * @Author thenie
 * @Data 2022/5/29 10:21
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class DialogMessage {
    @NotNull
    private String fromId;
    @NotNull
    private String toFriendId;
    @NotNull
    private String text;
    @NotNull
    private Date dateTime;
}
